/* 全局重置和基础样式 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    height: 100vh;
    background-color: #F8F8F8;
    background-image: url('pomelo_tea_bg.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    /* 为顶部软件名称留出空间 */
}


/* 软件名称样式 - 显示在页面顶部 */

.software-name {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    color: #000000;
    text-align: center;
    padding: 20px 0;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 1000;
}

.container {
    display: flex;
    width: 100vw;
    height: calc(100vh - 80px);
    position: relative;
    justify-content: center;
    align-items: center;
}


/* 左侧登录表单区域 */

.left-section {
    width: 450px;
    /* height: 600px; */
    background-color: #F8F8F8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 16px;
    border-radius: 10px;
}

.left-section>* {
    width: 100%;
    max-width: 313.97px;
}


/* 标题样式 */

.headline {
    font-size: 24px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 32px;
    text-align: center;
    width: 100%;
}


/* 表单组样式 */

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    height: 56px;
    padding: 16px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 16px;
    color: #000000;
    background-color: #FFFFFF;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #007BFF;
}

.form-group input::placeholder {
    color: #636364;
    font-weight: 300;
}


/* 记住我和忘记密码 */

.remember-forgot {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remember-me input[type="checkbox"] {
    width: 14px;
    height: 13px;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    cursor: pointer;
}

.remember-me label {
    font-size: 12px;
    font-weight: 500;
    color: #181818;
    letter-spacing: 3%;
    cursor: pointer;
}

.forgot-password {
    font-size: 12px;
    font-weight: 500;
    color: #181818;
    letter-spacing: 3%;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #EA454C;
}


/* 登录按钮 */

.signin-btn {
    width: 100%;
    height: 56px;
    background: #EA454C;
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 3%;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 10px 0px rgba(233, 68, 75, 0.25);
}

.signin-btn:hover {
    background: #d63940;
    transform: translateY(-2px);
    box-shadow: 0px 6px 15px 0px rgba(233, 68, 75, 0.35);
}

.signin-btn:active {
    transform: translateY(0);
}


/* Google登录按钮 */

.google-signin-btn {
    width: 314px;
    height: 56px;
    background: transparent;
    color: #000000;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 3%;
    cursor: pointer;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.25);
}

.google-signin-btn img {
    width: 29px;
    height: 29px;
}

.google-signin-btn:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0px 6px 15px 0px rgba(0, 0, 0, 0.15);
}


/* 注册链接 */

.signup-link {
    text-align: center;
    font-size: 14px;
    color: #636364;
    margin-top: 16px;
}

.signup-link a {
    color: #007BFF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.signup-link a:hover {
    color: #0056B3;
}


/* 右侧图片区域 */

.right-section {
    display: none;
}

.image-container {
    width: 100%;
    height: 100%;
    background-image: url('pomelo_tea_bg.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
}

.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}